home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ IIS Messages 1.xpl
< prev
next >
Wrap
Text File
|
1998-08-08
|
1KB
|
42 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="1"
"COUNT"="1"
"UIPATH"="Internet\Internet Information Server"
"NAME"="Messages"
"LANGUAGE"="VBScript"
"TEXT 1"="Access Denied"
"DESCRIPTION 1"="The "Access Denied" message is sent to the user if he has tried to get a file and he has no permissions to get it."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.1"
'Declaration of some constants
sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
sP2="HKLM\System\CurrentControlSet\Services\InetInfo\Parameters\"
vAD="AccessDeniedMessage" 'string
'Called when the Plugin is started
Sub Plugin_Initialize
if RegPathExists(sP) then
s=RegReadValue(sp & vAD)
SetUIElement 1,s
else
Disable
end if
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sp & vad,s,1)
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub